<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Lucid Dreaming App Night Mode</title>
    <link href="layout_black.css" rel="stylesheet" type="text/css">
    <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
    <script language="javascript" type="text/javascript" src="../jquery.min.js"></script>
    <script language="javascript" type="text/javascript" src="../jquery.flot.min.js"></script>
 </head>
    <body bgcolor="Black">
   <div id="xdiv">
	<p>Text will be added here</p>
	</div>   
	 <span id="message"></span>

  

<script type="text/javascript">
$(document).ready(function(){
document.getElementById("xdiv").innerHTML =window.javahandler.getSleepStatus();
});


 function changeDivHTML(html){
 $("#message").text("changeDiv called");
    updateHTML();
     //$("#xdiv").html(html);
    }
    
    function updateHTML(){
    document.getElementById("xdiv").innerHTML =window.javahandler.getSleepStatus();
   // $("#message").text("updateHTML Called");
    }
    
</script>



 </body>
</html>
